import axios from 'axios'

const createInstance = req => axios.create({
    baseURL:'https://www.fastmock.site',
    headers:{
        cookie:req.get('cookie') || ''
    }
})

export default createInstance